
<!--
 * @Autor: 张小鹏
 * @Date: 2020-04-02 11:40:24
 * @LastEditors: 张小鹏
 * @LastEditTime: 2020-04-21 15:03:50
 * @description: 
 -->
<template>
  <div>
         <ft-select ref="ftoselect" style="margin-top:10px;"  
            filterable
            remote
            reserve-keyword
            :remote-method="remoteMethod"
          >
               
        </ft-select>
  </div>
</template>

<script>
// fasttable
export default {
  components: {},
  data() {
    return {
      tableData: Array.from({ length: 10000 }, (_, idx) => ({
        value: idx + 1,
        label: "名称" + idx
      }))
    };
  },
  mounted() {
    //  FtoSelect
    //  ftselect
    this.$refs.ftoselect.appendData(this.tableData);
  
  },
  methods: {
    remoteMethod(query){
     if(query!=='')
     {
       
     }
    }
  }
};
</script>
<style>
.a{
  margin-top:10px;
}
</style>
